<%--
  Created by IntelliJ IDEA.
  User: 25083
  Date: 2018/6/14
  Time: 19:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/js/salary.js"></script>
</head>
<body>
<table id="salary_dataGrid"></table>
<!--工具栏-->
<div id="sal_toolbar">
    姓名查询:<input class="easyui-textbox" name="keyword" prompt="请输入姓名">
    <input type="hidden" name="deptId">
    部门查询:<input class="easyui-combobox dept_combobox" name="dept.id" prompt="请选择部门"
                data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/department/selectAll.do'"/>
    日期查询:<input class="easyui-datebox" name="beginDate" > -
    <input class="easyui-datebox" name="endDate">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchForm">查询</a>
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="look">查看薪资明细</a>
</div>
<div id="sche1_btns">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
</div>
<div id="sche_btns">

</div>
<div id="salary_dialog">
    <form id="salary_form" method="post">
        <input id="salaryId" name="id" type="hidden">
        <table align="center" style="width: 200px; height: 100px;margin-top: 20px;line-height: 50px;">
            <tr>
                <td>姓名:</td>
                <td><input name="emp.id" class="easyui-combobox" id="sche_username" readonly="true"
                           data-options="panelHeight:'auto',textField:'username',valueField:'id',url:'/employee/selectAll.do'"
                ></td>
            </tr>
            <tr>
                <td>部门:</td>
                <td><input name="dept.id" class="easyui-combobox" id="sche_name" readonly="true"
                           data-options="panelHeight:'auto',textField:'name',valueField:'id',url:'/department/selectAll.do'"
                ></td>
            </tr>
            <tr>
                <td>电话:</td>
                <td>
                    <input id="sal_tel" readonly="true" name="tel"/>
                </td>
            </tr>
            <tr>
                <td>邮箱:</td>
                <td>
                    <input id="sal_email" readonly="true" name="email"/>
                </td>
            </tr>
            <tr>
                <td>基本工资:</td>
                <td>
                    <input id="sal_salary" readonly="true" name="salary"/>
                </td>
            </tr>
            <tr>
                <td>奖金:</td>
                <td>
                    <input id="sal_bonus" readonly="true" name="bonus"/>
                </td>
            </tr>
            <tr>
                <td>日期:</td>
                <td>
                    <input id="sal_date" readonly="true" name="date"/>
                </td>
            </tr>
            <tr>
                <td>总薪资:</td>
                <td>
                    <input id="sal_totalSalary" readonly="true" name="totalSalary"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<div id="salary1_dialog">
    <form id="salary1_form" method="post">
        <table align="center" style="width: 200px; height: 100px;margin-top: 20px;line-height: 50px;">
            <tr>
                <td>姓名:</td>
                <td><input name="emp.id" class="easyui-combobox" class="easyui-combobox"
                           data-options="panelHeight:'auto',textField:'username',valueField:'id',url:'/employee/selectAll.do'"
                ></td>
            </tr>
            <tr>
                <td>部门:</td>
                <td><input name="dept.id" class="easyui-combobox" class="easyui-combobox"
                           data-options="panelHeight:'auto',textField:'name',valueField:'id',url:'/department/selectAll.do'"
                ></td>
            </tr>
            <tr>
                <td>电话:</td>
                <td>
                    <input class="easyui-textbox" name="tel"/>
                </td>
            </tr>
            <tr>
                <td>邮箱:</td>
                <td>
                    <input class="easyui-textbox" name="email"/>
                </td>
            </tr>
            <tr>
                <td>基本工资:</td>
                <td>
                    <input class="easyui-textbox" name="salary"/>
                </td>
            </tr>
            <tr>
                <td>奖金:</td>
                <td>
                    <input class="easyui-textbox" name="bonus"/>
                </td>
            </tr>
            <tr>
                <td>日期:</td>
                <td>
                    <input class="easyui-datebox" name="date"/>
                </td>
            </tr>
            <tr>
                <td>总薪资:</td>
                <td>
                    <input class="easyui-textbox" name="totalSalary"/>
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>